#include<stdio.h>

int main()
{
    int a,n;
    int *pa=&a,*pn=&n;
    scanf("a=%d,n=%d",pa,pn);
    while(*pn){
        printf("%d",*pa);
        *pn=(*pn)-1;
    }
}